class Solution:
    def trailingZeroes(self, n: int) -> int:
        sumFive = 0
        while n:
            n = n // 5
            sumFive = sumFive + n
        return sumFive


if __name__ == '__main__':
    so = Solution()
    s = 10
    r = so.trailingZeroes(s)
    print(r)
